#include "StdAfx.h"
#include "AbstractPCFac.h"
#include "PC2Factory.h"
#include "Player2.h"
#include "Bomb2.h"

AbstractPCFac* PC2Factory::Instance()
{
	if(_p_this == NULL)
	{
		_p_this = new PC2Factory();
	}
	return _p_this;
}

Player* PC2Factory::MakePlayer()
{
	Player* tempP = new Player2();
	tempP->Init();
	return tempP;
}
Bomb* PC2Factory::MakeBomb()
{
	Bomb* tempB = new Bomb2();
	return tempB;
}

PC2Factory::PC2Factory()
{
}